package com.spring.aop.xml;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import java.util.Arrays;

/**
 * @author liangd
 * date 2020-11-18 09:44
 */
public class ValidationAspect {


    public void validateArgs(JoinPoint joinPoint){
        System.out.println("-->validate:"+ Arrays.asList(joinPoint.getArgs()));
    }
}
